[#list loans as loan]
<div class="option2">
    <div class="option-childA option-child">
        <span class="kind-text">${loan.name}</span>
        [#if loan.red_packet_status==1]
            <img src="${path}/resources/wap/img/invest/loanBond.png" class="kind-img" alt=""/>
        [/#if]

    </div>
    <div class="option-childB option-child">
        <div class="progress">
            <div class="progress-content" style="width:${(loan.amount_invested/loan.account*15)}rem">${(loan.amount_invested/loan.account*100)?string("#.##")}%</div>
        </div>
    </div>
    <div class="option-childC option-child">
        <span>项目金额：${loan.account/10000}万元</span>
        <span>期限：${loan.time_limit}[#if loan.is_day==1] 天 [#else]  个月 [/#if]</span>
        <span class="residue">剩余(元)：${((loan.account-loan.amount_invested)/10000)}</span>
    </div>
    <div class="option-childD option-child">
        <div class="last-left">
            <span class="headline">年化收益:</span>
            <span class="details">${loan.apr}%</span>
        </div>
        <div class="last-right">
            <a href="${path}/wap/bid/detail/${loan.id}"><button class="viewDetails">查看详情</button></a>
        </div>
    </div>
</div>
[/#list]